package spring.example.cloud.service;

import cloud.estate.commons.bean.Parking;
import cloud.estate.commons.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface parkingService extends IService<Parking> {
    JsonResult addOneParking(Parking parking);

    JsonResult deleteOneParking(String id);

    JsonResult updateOneParking(Parking parking);

    JsonResult getOneParking(String id);

    JsonResult listAllParking();
}
